//
//  ImageProcessingAlgorithmInvoker.h
//  IphoneImageProcessing
//
//  Created by Ngoc on 5/2/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ICommand.h"

@interface ImageProcessingAlgorithmInvoker : NSObject {
    NSMutableArray *undoStack,*redoStack;
    NSInteger maxUndolevels;
}

-(BOOL) IsCanUndo;
-(BOOL) IsCanRedo;
-(void) Execute:(id<ICommand>) command;
-(void) Undo:(NSInteger) levels;
-(void) Redo:(NSInteger) levels;

@end
